home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 October / CHIP Turkiye Ekim 2000.iso / prog / naps / 16 / sample.conf < prev    next >
Encoding:
Text File  |  2000-07-16  |  4.3 KB  |  132 lines

  1. ### $Id: sample.conf,v 1.34 2000/07/16 22:37:52 drscholl Exp $
  2. ###
  3. ### Sample configuration file for opennap
  4. ###
  5. ### This file is typically renamed to /usr/local/share/opennap/config, or
  6. ### for Win32 platforms it is C:\opennap\config
  7. ###
  8.  
  9. # this file should be read-only by the process running the daemon.  if the
  10. # user/pass combo are leaked then anyone can alter the table used for storing
  11. # the information
  12.  
  13. # the official name for this server (defaults to the value of gethostname(3))
  14. #server_name localhost
  15.  
  16. # the password for linking this server to other servers (no default)
  17. server_password opensource
  18.  
  19. # port(s) to listen on for client connections (defaults to 8888)
  20. #server_ports 4444 7777 8888
  21.  
  22. # maximum number of channels a user is allowed to join (default: 5)
  23. #max_user_channels 5
  24.  
  25. # maximum number of chars in a nickname
  26. #max_nick_length 32
  27.  
  28. # maximum length of server->server queue (default: 1MB)
  29. #server_queue_length 1000000
  30.  
  31. # maximum length of server->client queue (default: 100KB)
  32. #client_queue_length 10000
  33.  
  34. # maxiumum number of files returned by a browse command (default: 500)
  35. #max_browse_result 5000
  36.  
  37. # maximum number of results returned for a search (default: 100)
  38. #max_results 500
  39.  
  40. # maximum number of files a user is allowed to share (default: 5000)
  41. #max_shared 1000
  42.  
  43. # how often to send server stats to clients (default: 60 seconds)
  44. #stat_click 15
  45.  
  46. # maximum number of local connections (default: 1000)
  47. #max_connections 100
  48.  
  49. # number of seconds between running garbage collection
  50. #collect_interval 60
  51.  
  52. # ip address to listen on (default: ANY)
  53. #listen_addr 127.0.0.1
  54.  
  55. # directory to read opennap config files (default: /usr/local/share/opennap)
  56. # config_dir .
  57.  
  58. # default maximum number of users per channel (default: 200)
  59. #channel_limit 10
  60.  
  61. # max amount of idle time allowed before closing connection when logging in
  62. #login_timeout 60
  63.  
  64. # max length of a client command (default: 2kbytes)
  65. #max_command_length 2048
  66.  
  67. # automatically register all user accounts the first time they log in
  68. # (default: off)
  69. # auto_register 0
  70.  
  71. # require all accounts to be registered (default: off)
  72. # registered_only 0
  73.  
  74. # maximum number of entries allowed for a hotlist (default: 32)
  75. # max_hotlist 100
  76.  
  77. # maximum number of entries allowed on an ignore list (default: 32)
  78. # max_ignore 100
  79.  
  80. # maximum length of a channel topic (default: 64)
  81. # max_topic 100
  82.  
  83. # maximum length of the client version string (default: 32)
  84. # max_client_string 100
  85.  
  86. # maximum length of the reason string in the kick/kill/muzzle commands
  87. # (default: 64)
  88. # max_reason 100
  89.  
  90. # maximum filename length for shared files (default: 256)
  91. # max_path 128
  92.  
  93. # compression level (0 = none, 1 = least effort (default), 9 = best effort)
  94. #compression_level 6
  95.  
  96. # maximum number of connnections from a single ip (default: 0 [unlimited])
  97. #max_clones 3
  98.  
  99. # END of Win32 configuration.  What follows is only for the Unix versions
  100.  
  101. # if your operating system has a small limit for the maxium amount of data
  102. # a single process is allowed to allocate, adjust this value to the maximum
  103. # you wish to use.  on many systems this does not even require root access
  104. # to change to a higher value (default: -1, use system default)
  105. #max_data_size 64000000
  106.  
  107. # this value adjusts how much real memory each process is allowed to consume
  108. # before parts of the allocated memory get swapped out (default: -1, use
  109. # system default)
  110. #max_rss_size 64000000
  111.  
  112. # set this to the highest value that max_connections will ever be during the
  113. # process lifetime.  this can't be changed while opennap is running because
  114. # on many systems it requires root privilege, and we drop those before
  115. # handling user input as a security measure.  (default: 1024)
  116. #connection_hard_limit 4096
  117.  
  118. # if opennap is run as root, we change to this uid after setting the hard
  119. # limit for number of file descriptors we need (default: nobody)
  120. #uid 99
  121.  
  122. # if opennap is run as root, we change to this gid after setting the hard
  123. # limit for number of file descriptors needed (default: nobody)
  124. #gid 99
  125.  
  126. # prevent opennap from being swapped to disk.  WARNING!  this should only
  127. # be used in conjunction with the max_data_size otherwise opennap could
  128. # consume all of your system memory (default: off)
  129. # lock_memory 0
  130.  
  131. # EOF
  132.